package week2.validator;

public class Test {
    public static void main(String[] args) {
        Authenticator authenticator = AuthenticatorFactory.createAuthenticator();
        authenticator.save("Xiaoming", "123456");
        System.out.println(authenticator.authenticate("Xiaoming","123456"));
    }
}
